import { request } from "@/utils/service"
/** 查 */
export function getCooperatorApi(params: any) {
  return request({
    url: "/co/query",
    method: "get",
    params
  })
}
/** 增 */
export function getCooperatorApiAdd(data: any) {
  return request({
    url: "/co/add",
    method: "post",
    data
  })
}
// 改
export function getCooperatorApiUpdate(data: any) {
  return request({
    url: "/co/update",
    method: "put",
    data
  })
}
// 删除
export function getCooperatorApiDel(co_id: any) {
  return request({
    url: "/co/del",
    method: "delete",
    params: {
      co_id
    }
  })
}
